package com.logic;

import com.pi4j.io.gpio.GpioPinDigitalOutput;

public class Rollo {
	
	RolloTyp typ;
	
	GpioPinDigitalOutput up;
	GpioPinDigitalOutput down;

	int upTime;
	int downTime;
	
	Schalter schalter;

	public Rollo(RolloTyp typ, GpioPinDigitalOutput up,
			GpioPinDigitalOutput down, int upTime, int downTime,
			Schalter schalter) {
		super();
		this.typ = typ;
		this.up = up;
		this.down = down;
		this.upTime = upTime;
		this.downTime = downTime;
		this.schalter = schalter;
	}

	public RolloTyp getTyp() {
		return typ;
	}

	public void setTyp(RolloTyp typ) {
		this.typ = typ;
	}

	public GpioPinDigitalOutput getUp() {
		return up;
	}

	public void setUp(GpioPinDigitalOutput up) {
		this.up = up;
	}

	public GpioPinDigitalOutput getDown() {
		return down;
	}

	public void setDown(GpioPinDigitalOutput down) {
		this.down = down;
	}

	public int getUpTime() {
		return upTime;
	}

	public void setUpTime(int upTime) {
		this.upTime = upTime;
	}

	public int getDownTime() {
		return downTime;
	}

	public void setDownTime(int downTime) {
		this.downTime = downTime;
	}

	public Schalter getSchalter() {
		return schalter;
	}

	public void setSchalter(Schalter schalter) {
		this.schalter = schalter;
	}
}
